home *** CD-ROM | disk | FTP | other *** search
/ Champak 128 / Vol 128 (Damaged).iso / games / hello_ki.swf / scripts / DefineSprite_66 / frame_2 / DoAction.as
Encoding:
Text File  |  2011-03-26  |  283 b   |  18 lines

  1. n = 1;
  2. while(n < 25)
  3. {
  4.    if(n < 10)
  5.    {
  6.       CardTarget = "_parent.Card0" add n add ".CardMotion";
  7.    }
  8.    else
  9.    {
  10.       CardTarget = "_parent.Card" add n add ".CardMotion";
  11.    }
  12.    tellTarget(CardTarget)
  13.    {
  14.       gotoAndStop("CardInvisible");
  15.    }
  16.    n++;
  17. }
  18.